package com.hhtc.jsj.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hhtc.jsj.common.response.Result;
import com.hhtc.jsj.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hhtc.jsj.request.UserRequest;

import java.util.List;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author ty
 * @since 2022-04-07
 */
public interface UserService extends IService<User> {
    boolean add(UserRequest userRequest);
    boolean remove(UserRequest userRequest);
    boolean update(UserRequest userRequest);
    UserRequest getById(UserRequest userRequest);
    List<UserRequest> queryList(UserRequest userRequest);

    Page queryPage(UserRequest userRequest);
}
